package com.roger.myHome.service;

import com.roger.myHome.entity.dto.FinancialAddReq;
import com.roger.myHome.entity.dto.RedemptionDto;
import com.roger.myHome.entity.qto.FinancialQry;
import com.roger.myHome.entity.vo.FinancialDetailVo;
import com.roger.myHome.page.EUDataGridResult;

public interface FinancialService {
    EUDataGridResult page(FinancialQry financialQry);

    String add(FinancialAddReq financialAddReq);

    String redemption(RedemptionDto redemptionDto);

    String searchTotalIncome();

    String checkIncome(Long id) throws Exception;

    FinancialDetailVo getVo(Long id);

    String delete(Long id);
}
